﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Entities;
using Datalayer;
using Common;
using System.Data;

namespace Portal_KonTum.Control
{
    public partial class Footer : System.Web.UI.UserControl
    {
        IQueryMgr iq;
        WebConfig wcf = new WebConfig();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BinData();
            }
        }
        void BinData()
        {
            try
            {
                WebConfig wcf = new WebConfig();
                iq = QueryMgr.GetDbInstance();
                wcf = iq.wcf_GetWebconfByID();
                lblfooter.Text = wcf.WebFooter;
            }
            catch (Exception ex)
            {
                Alert.Show(ex.ToString());
            }
        }
    }
}